Skip to main content

TsgDXFDimensionStyle

Unit: DXFConv

Description

The TsgDXFDimensionStyle class defines DIMSTYLE entity of a DXF file. A dimension style is a named collection of dimension settings that control the appearance of dimensions. You create dimension styles to specify the format of dimensions quickly, and to ensure that dimensions conform to standards.

Syntax

TsgDXFDimensionStyle = class(TsgDXFPenTableItem)

Properties

PropertiesDescription
ArrowSizeGets or sets dimension arrow size.
ArrowType1Gets or sets a type of arrow exterior.
ArrowType2Gets or sets a type of the first arrow exterior.
ArrowTypeLGets or sets a type of the second arrow exterior.
DIMCLRDGets or sets the arrow block name for leaders.
DIMCLREGets or sets placement of center marks or centerlines.
DIMCLRTGets or sets the arrowhead block displayed at the ends of dimension lines.
DIMDECGets or sets the arrowhead type for block displayed at the ends of dimension lines.
DIMLFACGets or sets the arrowhead for the first end of the dimension line.
DIMLWDGets or sets the arrowhead type for the first end of the dimension line.
DIMLWEGets or sets the arrowhead for the second end of the dimension line.
DIMTIHGets or sets the arrowhead type for the second end of the dimension line.
DIMTIXAssigns colors to dimension lines, arrowheads, and dimension leader lines.
DIMTOHAssigns colors to extension lines, center marks, and centerlines.
DIMSD1Assigns colors to dimension text.
DIMSD2Controls the type of arrowhead used for leaders.
DIMSE1Gets or sets the number of decimal places displayed for the primary units of a dimension.
DIMSE2Gets or sets a scale factor for linear dimension measurements.
ExtLineExtGets or sets lineweight of dimension lines
ExtLineOffsetGets or sets lineweight of extension lines.
ScaleControls the position of dimension text inside the extension lines.
SizeCenterMarkChecks whether to draw dimension text between the extension lines.
TextHeightControls the position of dimension text outside the extension lines.
TextOffsetControls suppression of the first dimension line and arrowhead.
TextPosVertControls suppression of the second dimension line and arrowhead.
TextStyleControls suppression of the first extension line.
Derived from TsgDXFPenTableItemDescription
FlagsThe property sets and gets standard flag values (bit-coded value)
NameThe name of the type of line or layer value of 2 code of the section from DXF file of a table LTYPE or LAYERS.
Derived from TsgDXFPenEntityDescription
PenThe property for reaching the TPen object, used for drawing.
Derived from TsgDXFEntityDescription
BoxThe property determines the 3d box embraced the entity.
ColorThe property gets or sets entity color.
ColorCADThe property gets or sets a color for drawing entities.
ComplexThe property determines whether a entity is populated with child entities.
ConverterThe property returns the TsgDXFConverter class object.
CountThe property indicates the total number of child entities.
EntitiesThe property lists all child entities.
EntTypeThe property indicates type of an entity.
HandleThe property is used for finding entity links.
LayerThe property points to layer, containing given primitive if this layer is given.
LineTypeThe property sets and gets line type for an entity.
LineTypeScaleThe property sets and gets the Linetype scale.
LineWeightThe property sets or gets line weight in millimeters.
PaperSpaceThe property indicates Model Space and Paper Space entity segregation.
SrcEndThe property indicates end position of the entity description in the source CAD file.
SrcStartThe property indicates start position of the entity description in the source CAD file.
VisibilityThe property sets and gets entities visibility.
VisibleThe property determines whether the component appears onscreen.

Methods

MethodsDescription
AssignEntityCopies properties of source entity to current entity.
CreateCreates an instance of the TsgDXFDimensionStyle class object.
InitPropsFor internal uses.
Derived from TsgDXFPenTableItemDescription
EntNameThe property gets the name of an entity.
Derived from TsgDXFPenEntityDescription
DestroyFrees up internal the TPen object before freeing this instance.
SetColorThe method changes the color used for drawing.
Derived from TsgDXFEntityDescription
AddEntityThe method adds a new child entity.
CloneThe method copies properties of source entity to current entity (include Handle).
DrawThe method generates the OnDraw event.
GetBoxPointsThe method is used in drawing cycle for fast checking whether the entity must be drawn.
GetThicknessThe method returns entity's thickness.
SetLTypeThe method sets line type of the entity.
SetLWeightThe method sets line weight width of the entity.

Events

Derived from TsgDXFEntityDescription
OnDrawThe event occurs when the Draw method is called.